New function read-char-choice for reading a restricted set of chars.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 8 Jan 2011 19:17:23 +0000 (14:17 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 8 Jan 2011 19:17:23 +0000 (14:17 -0500)
commit801cd200257b2302c1c5bb10e976e316ceec769d
tree91dbf3d785d791d2b093d13e4ce4415a32760975
parentd8e76b0f8bc0336f4bfefe52e61cea4eef9fb388
New function read-char-choice for reading a restricted set of chars.

* lisp/subr.el (read-char-choice): New function, factored out from
dired-query and hack-local-variables-confirm.

* lisp/dired-aux.el (dired-query):
* lisp/files.el (hack-local-variables-confirm): Use it.
etc/NEWS
lisp/ChangeLog
lisp/dired-aux.el
lisp/dired.el
lisp/files.el
lisp/subr.el